﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Basic;
using System;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    /// <summary>
    /// 排班管理
    /// </summary>
    public class OutPatientPayLockDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.out.service.inter.dubbo.OutPatientPayLockDubboService";
        /// <summary>
        /// [7-100055-01]根据条件查询出班情况V1
        /// </summary>
        public GateWayMethod unlock => new Unlock(url);
    }

    public class Unlock : GateWayMethod
    {
        public Unlock(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "unlock";

        public override string paramClass => "co.faao.plugin.transmission.request.MessageHeader";

        public override DubboParamType paramType => DubboParamType.messageheader;

        public override Type requestParamType => typeof(UnlockRequest);

        public override Type responseParamType => typeof(object);

        public override string desc => "7-100110-01 解锁患者";
    }
}
